<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="1px">
    <tr>
        <td>房间号</td>
        <td>房间图片</td>
        <td>房间类型</td>
        <td>房间价格</td>
        <td>使用情况</td>
        <td>入住起始时间</td>
        <td>入住截止时间</td>
    </tr>
    <c:forEach var="s" items="${rooms}">
        <tr>
            <td>${s.roomNum}</td>
            <td>${s.roomImg}</td>
            <td>${s.typeId}</td>
            <td>${s.roomPrice}</td>
            <td>${s.roomState}</td>
            <td>${s.startTime}</td>
            <td>${s.endTime}</td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
